package com.qf.repo.bean;

/**
 * 产品实体类：对应数据库中的产品表
 */
public class Product {
    private int id;
    private String pno;
    private String pname;
    private String paddr;
    private String pdate;
    private String enterDate;
    private int pNumber;

    public Product() {
    }

    public Product(int id, String pno, String pname, String paddr, String pdate, String enterDate, int pNumber) {
        this.id = id;
        this.pno = pno;
        this.pname = pname;
        this.paddr = paddr;
        this.pdate = pdate;
        this.enterDate = enterDate;
        this.pNumber = pNumber;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPaddr() {
        return paddr;
    }

    public void setPaddr(String paddr) {
        this.paddr = paddr;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public String getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(String enterDate) {
        this.enterDate = enterDate;
    }

    public int getpNumber() {
        return pNumber;
    }

    public void setpNumber(int pNumber) {
        this.pNumber = pNumber;
    }
}
